/**
 * Created by wangshaohua on 2018/1/25.
 */
moduleResource.factory("LearningMapRouteResource", function (CambioResource, $$CambioConfig) {
    const resource = $$CambioConfig.SZ_MANAGEMENT_SYSTEM_RESOURCE_URL + "/learningMap/route";

    return CambioResource(resource, {}, {
        save: {
            url: resource + "/save",
            method: 'POST'
        },
        update: {
            url: resource + "/update",
            method: 'PUT'
        },
        findByLearningMapId: {
            url: resource + "/findByLearningMapId/:learningMapId",
            method: 'GET'
        },
        configRouteForLearningMap: {
            url: resource + "/configRouteForLearningMap",
            method: 'POST'
        }
    });
});